package com.navinfo.platform.dataanalysis.dto.condition;

import com.navinfo.platform.common.dto.DataInfo;
import lombok.Data;

@Data
public class SrCondition extends AbstractCondition {
    @Override
    public boolean subCondition(DataInfo dataInfo, Object... externalParam) {
        int rotation = dataInfo.getRotation();
        return rotation >= Integer.parseInt(param[0]);
    }
}
